/*
 * NFGParser.h
 *
 * Copyright 2012 Fabian Wenzelmann, Nikolaus Mayer
 *
 * This file is part of ss12-gtprojects.
 *
 * ss12-gtprojects is free software: you
 * can redistribute it and/or modify it under the terms of the
 * GNU General Public License as published by the Free Software Foundation,
 * either version 3 of the License, or (at your option) any later version.
 *
 * ss12-gtprojects is distributed in the hope
 * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
 * Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with ss12-gtprojects.
 *
 * If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef NFGPARSER_H_
#define NFGPARSER_H_

#include <iostream>
#include <fstream>
#include <string>
#include <vector>

#include "Event.h"
#include "Player.h"
#include "StrategicGame.h"

class NFGParser {
    public:
        NFGParser();

        ~NFGParser();

        StrategicGame *parseGame(std::string &in);

    private:
        void parseStringList(std::string &str, size_t *pos, std::vector<std::string> &result);
};

#endif /* NFGPARSER_H_ */
